<template>
	<view style="padding: 20rpx 25rpx;">
		<view style="font-size: 36rpx;font-weight: bold;margin-bottom: 20rpx;">{{infoList.title}}</view>
		<view>
			<u-parse :html="infoList.cnts"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
			data() {
				return {
					id:'',
					infoList:{}
				}
			},
			onLoad(opt) {
				this.id = opt.id
				this.getDetail()
			},
			methods:{
				getDetail(){
					this.$u.api.ScientDetail({
						id: this.id
					}).then(data=>{
						this.infoList = data
					})
				}
			}
		}
</script>

<style>
</style>
